using System;
using System.Collections.Generic;
using System.Text;

namespace TarreOA.TarreOAModels
{
    [Serializable()]
    public class LeaveInfo
    {
        private int leaveInfoId;
        private DateTime beginDate;
        private DateTime beginTime;
        private DateTime endDate;
        private DateTime endTime;
        private string leaveRemark;
        private int state;
        private User leaveUser;
        private DateTime register;

        public DateTime Register
        {
            get { return register; }
            set { register = value; }
        }

        public User LeaveUser
        {
            get { return leaveUser; }
            set { leaveUser = value; }
        }

        public int State
        {
            get { return state; }
            set { state = value; }
        }

        public string LeaveRemark
        {
            get { return leaveRemark; }
            set { leaveRemark = value; }
        }

        public DateTime EndTime
        {
            get { return endTime; }
            set { endTime = value; }
        }

        public DateTime EndDate
        {
            get { return endDate; }
            set { endDate = value; }
        }

        public DateTime BeginTime
        {
            get { return beginTime; }
            set { beginTime = value; }
        }

        public DateTime BeginDate
        {
            get { return beginDate; }
            set { beginDate = value; }
        }

        public int LeaveInfoId
        {
            get { return leaveInfoId; }
            set { leaveInfoId = value; }
        }
    }
}
